﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace blackhouse.mojoPortalExtend.Urls {
    public class UrlException : Exception {

        public string NewUrl;
        public string OldUrl;
        public Guid ObjectId;

        public UrlException(UrlSupport obj, string message)
            : base("Nie można ustalić nowego adresu URL!\r\n" + message) {
            this.NewUrl = obj.NewUrl;
            this.OldUrl = obj.OldUrl;
            this.ObjectId = obj.Guid;
        }

    }
}
